import Vue from 'vue'
import Router from 'vue-router'
import login from '@/components/login/login'
import forgetPwd from '@/components/login/forgetPwd'
import register from '@/components/login/register'
import registerTips from '@/components/login/registrationPrompt'
import ReferralLinks from '@/components/membercenter/ReferralLinks'
import Inbox from '@/components/messagecenter/Inbox'
import AnnouncementList from '@/components/messagecenter/AnnouncementList'
import Announcement from '@/components/messagecenter/Announcement'
import ApplyFor from '@/components/servicecentre/ApplyFor'
import PickUp from '@/components/servicecentre/PickUp'
import index from '@/components/index/index'
import financial from '@/components/financialcenter/financial'
import capitaldetails from '@/components/financialcenter/capitaldetails'
import servicecentre from '@/components/servicecentre/servicecentre'
import delivery from '@/components/servicecentre/delivery'
import investment from '@/components/servicecentre/investment'
import forward from '@/components/servicecentre/forward'
import pickupPay from '@/components/servicecentre/pickupPay'
import dailyPerformance from '@/components/financialcenter/dailyPerformance'
import cast from '@/components/servicecentre/cast'
import WithdrawDeposit from '@/components/servicecentre/WithdrawDeposit'
import personalInfo from '@/components/accountcenter/personalInfo'
import changePwd from '@/components/accountcenter/changePwd'
import authenticateInfo from '@/components/accountcenter/authenticateInfo'
import Write from '../components/messagecenter/Write.vue'
import inbox_table from '@/components/messagecenter/inbox_table'
import hairbox from '@/components/messagecenter/hairbox'
import extension from '@/components/membercenter/extension'
// import Information from '../components/messagecenter/Information'
import jiancangpayment from '../components/servicecentre/jiancangpayment'
// import WriteList from '../components/messagecenter/WriteList'
import sendBox from '@/components/messagecenter/sendBox'
import newsList from '../components/messagecenter/newsList'
import news from '../components/messagecenter/news'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/jiancangpayment',
      name: 'jiancangpayment',
      component: jiancangpayment
    },
    {
      path: '/extension',
      name: 'extension',
      component: extension
    },
    {
      path: '/hairbox',
      name: 'hairbox',
      component: hairbox
    },
    {
      path: '/inbox_table',
      name: 'inbox_table',
      component: inbox_table
    },
    {
      path: '/WithdrawDeposit',
      name: 'WithdrawDeposit',
      component: WithdrawDeposit
    },
    {
      path: '/cast',
      name: 'cast',
      component: cast
    },
    {
      path: '/forward',
      name: 'forward',
      component: forward
    },
    {
      path: '/investment',
      name: 'investment',
      component: investment
    },
    {
      path: '/delivery',
      name: 'delivery',
      component: delivery
    },
    {
      path: '/financial',
      name: 'financial',
      component: financial
    },
    {
      path: '/servicecentre',
      name: 'servicecentre',
      component: servicecentre
    },
    {
      path: '/capitaldetails',
      name: 'capitaldetails',
      component: capitaldetails
    },
    {
      path: '/index',
      name: 'index',
      component: index
    },
    {
      path: '/login',
      name: 'login',
      component: login
    }, {
      path: '/forgetPwd',
      name: 'forgetPwd',
      component: forgetPwd
    }, {
      path: '/register',
      name: 'register',
      component: register
    }, {
      path: '/registerTips',
      name: 'registerTips',
      component: registerTips
    },
    {
      path: '/ReferralLinks',
      name: 'ReferralLinks',
      component: ReferralLinks
    },
    {
      path: '/Inbox',
      name: 'Inbox',
      component: Inbox
    },
    {
      path: '/Announcement',
      name: 'Announcement',
      component: Announcement
    },
    {
      path: '/AnnouncementList',
      name: 'AnnouncementList',
      component: AnnouncementList
    },
    {
      path: '/ApplyFor',
      name: 'ApplyFor',
      component: ApplyFor
    },
    {
      path: '/PickUp',
      name: 'PickUp',
      component: PickUp
    },
    {
      path: '/pickupPay',
      name: 'pickupPay',
      component: pickupPay
    },
    {
      path: '/dailyPerformance',
      name: 'dailyPerformance',
      component: dailyPerformance
    },
    {
      path: '/personalInfo',
      name: 'personalInfo',
      component: personalInfo
    },
    {
      path: '/changePwd',
      name: 'changePwd',
      component: changePwd
    },
    {
      path: '/authenticateInfo',
      name: 'authenticateInfo',
      component: authenticateInfo
    },
    {
      path: '/Write',
      name: 'Write',
      component: Write
    },
    {
      path: '/newsList',
      name: 'newsList',
      component: newsList
    },
    {
      path: '/news',
      name: 'news',
      component: news
    },
    // {
    //   path: '/Information',
    //   name: 'Information',
    //   component: Information
    // },
    {
      path: '/sendBox',
      name: 'sendBox',
      component: sendBox
    },
  ]
})
